<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>i18n</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
  </head>
  
  <body>
  		<h2>访问国际化信息的不同方式</h2>
  		<hr>
  		<h3>用s:text访问国际化信息</h3>
  		
  		<s:text name="labela"></s:text><br><br>
  		
  		<s:text name="order_01">
  			<s:param>20169211</s:param>
  		</s:text><br><br>
  		
  		<s:text name="order_02">
  			<s:param>张三</s:param>
  			<s:param>20169211</s:param>
  		</s:text><br><br>
  		<hr>
  		
  		<h3>用s:i18n指定国际化信息来源</h3>
  		<s:i18n name="message">
  			<s:text name="labela"></s:text><br><br>
  			
  			<s:text name="order_01">
  				<s:param>20169212</s:param>
  			</s:text><br><br>
  			
  			<s:text name="order_02">
	  			<s:param>李四</s:param>
	  			<s:param>20169212</s:param>
  			</s:text><br><br>
  		</s:i18n>
  		<hr>
  		
  		<h3>用表单标签访问国际化信息</h3>
  		<s:form>
  		
  			<s:textfield name="name" key="labela"></s:textfield>
  			
  			<s:i18n name="message">
  				<s:textfield name="name" key="labela"></s:textfield>
  			</s:i18n>
  			
  		</s:form>
  		
  		
  </body>
</html>
